package com.xk857.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author cv大魔王
 * @version 1.0
 * @date 2021/7/24 22:45
 */
@Data
@Component
@ConfigurationProperties(prefix = "xk857.aliyun")
public class AliyunProperties {

    /**
     * 阿里云地域节点
     */
    private String endpoint;

    /**
     * accessKeyId
     */
    private String accessKeyId;

    /**
     * accessKeySecret
     */
    private String accessKeySecret;

    /**
     * 存储空间名称
     */
    private String bucketName;

    /**
     * Bucket域名，访问文件时作为URL前缀
     */
    private String bucketDomain;

    /**
     * 注册短信模板
     */
    private String registerCode;

    /**
     * 短信签名
     */
    private String signature;

}
